﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Cherry.Agile.ServiceModel.Runtime
{
    public interface IServiceRunner
    {
        void Load(ServicePackage package);

        void Run( IEventListener listener,IServiceFilter filter );

        void Stop(IEventListener listener, IServiceFilter filter);

        IEnumerable<ServiceInfo> Info(IServiceFilter filter);

        IEnumerable<ServiceInfo> GetServicesInfo();
    }
}
